package com.ruoyi.trade.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 移仓做空日期配置对象 rolling_short_date_config
 * 
 * @author ruoyi
 * @date 2025-09-10
 */
public class RollingShortDateConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识ID */
    private Long id;

    /** 配置月份 */
    @Excel(name = "配置月份")
    private String configMonth;

    /** 配置天数 */
    @Excel(name = "配置天数")
    private String configDay;

    /** 创建时间 */
    private Date createdAt;

    /** 更新时间 */
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setConfigMonth(String configMonth) 
    {
        this.configMonth = configMonth;
    }

    public String getConfigMonth() 
    {
        return configMonth;
    }

    public void setConfigDay(String configDay) 
    {
        this.configDay = configDay;
    }

    public String getConfigDay() 
    {
        return configDay;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configMonth", getConfigMonth())
            .append("configDay", getConfigDay())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
